/*
 *  eliminar_nota_response.cpp
 *  Wilson
 *
 *  Created by Sebastian Orfino on 1/18/12.
 *  Copyright 2012 lbs3. All rights reserved.
 *
 */
#include "VCPlugInHeaders.h"
//sdk include
#include <sstream>

//project include
#include "eliminar_nota_response.h"

using namespace eventos;
using namespace std;


string eliminar_nota_response::payload() const 
{

	std::ostringstream os;
	
	os << "<payload mensaje=\"" << ID() << "\"><id>" 
	<< nota_.id << "</id><resultado>" 
	<< (resultado_ ? "OK" : "ERROR") << "</resultado></payload>";
	
	return os.str();
	
}